﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bank
{
    internal class BadCashException:Exception
    {
        private string id;
        private int money;
        public string Id { get => id; }
        public int Money { get => money; }
        public BadCashException(string message, string id, int money) : base(message) 
        {
            this.id = id;
            this.money = money;
        } 
    }
}
